/*
*
* SysMetadataMapper.java
* Copyright(C) 2017-2020 fendo公司
* @date 2018-07-02
*/
package com.mass.core.sys.metadata.dao;

import com.mass.core.sys.metadata.model.SysMetadata;
import com.mass.core.sys.metadata.model.SysMetadataExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysMetadataMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(SysMetadataExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(SysMetadataExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated
     */
    int insert(SysMetadata record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(SysMetadata record);

    /**
     *
     * @mbg.generated
     */
    List<SysMetadata> selectByExample(SysMetadataExample example);

    /**
     *
     * @mbg.generated
     */
    SysMetadata selectByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") SysMetadata record, @Param("example") SysMetadataExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") SysMetadata record, @Param("example") SysMetadataExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(SysMetadata record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(SysMetadata record);
}